#  author:张靖昆 date:2020/3/3 name:3_类型转化 IDE:PyCharm
# 1.int<=>float
# i=3
# f=float(i)
# int_f=int(f)
# print(int_f)
# print(type(int_f))

# int str
# a=10
# s_a=str(a)
# int_a=int(s_a)
# print(int_a+1)


# bool
a=10
b=0

s1=''
s2='python'

f1=0.0
f2=3.14

# print(bool(a))
# # print(bool(b))
# # print(bool(s1))
# # print(bool(s2))
# # print(bool(f1))
# # print(bool(f2))

# # if bool
# if f1:
#     pass
# else:
#     pass

t1=True
t2=False
# print(int(t2))
# print(int(t1))
# print(float(t1))
# print(float(t2))
# print(str(t1))
# print(t1+1)

n_t1=t1+0
print(n_t1)
print(not not n_t1)
